package com.safe.ele.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: springboot
 * @description: 十一组后端源码
 * @author: Feri(十一组)
 * @create: 2021-01-09 17:39:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IUser {
    /*
    *默认注释 */
    private Integer id;
    /*
    *默认注释 */
    private String uname;
    /*
    *默认注释 */
    private String sex;
    /*
    *默认注释 */
    private Date birthday;
    /*
    *数字邮箱 */
    private Integer numberid;
    /*
    *默认注释 */
    private String phone;
    /*
    *默认注释 */
    private String address;
    /*
    *状态---1：有效
    *       2：无效
    * */
    private String status;
    /*
    *默认注释 */
    private String password;

    public IUser(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }

    public IUser(String phone, String status, String password) {
        this.phone = phone;
        this.status = status;
        this.password = password;
    }
}